enable insertion of new struct into array