adjust the rotation and add background