code for different backgrounds, currently not working