rename rotate to rbt_rotate