Added insertion to tail