added background-mode