Adds condition for presence of background