modify Rotate to take a char instead of a char* param