changed fullBG code