Added insertion through rest