Implement 'insert' method