properly inserting objects