array is a reserved name. you should use something else; such as "arr"