the r class stuff