trying to find the type of rotation