handler given instead of array