start implementing handling for array of "objects"