refactored long lines, added comments, moved isCurrentSong logic to a helper
method