added some stuff for background images