added enum paramtypes to safer handling