simplified background code, got rid of validator warnings