That part seems to be correct. Could you post your whole code? Have you changed var weatherbox[3] to VECTOR weatherbox?