object insertion working