Added a tail pointer