added params class. needs code