Simplify background function.