change f and r to frame and roll