missing semicolon, better way to initiate array