Adding Tail/Head Identification