made to work with background view