Updated Tracks function

Updated tracks function to check looping through object array.