added background, got rid of some errors