class rotation