storing objects in an array