fixing repeating code in parseturntracker