corrected params class