Move background into anonymous function to prevent collisions