set initially type of background