How to insert objects