Added insert() method