add gen-class