factored out current song check to a new function