allows user to insert pieces in the middle of the track
cleans up whitespace