shouldn't you use reg param?