minor changes to get_background