added background flag