improved parameter handling for derived class