moved background image to a helper method