added background related code, not working