added rotate as variable