moved method to rotate >360° to values