Implementation of insert into as first