added the add to tail bit