Implemented insert()