Background managment

simplified code