added rotate to the utility