addFirst funct added