used logic from current track instead of array