finished modifying to adjust to TrackBank structure