implemented bg rotation