def background changed