need to define array properly