adds objects in the middle