add insert() method