reworking paramter processing