Added parameter to insertion method to reflect number of tracks.