takes r form SS model