adding in param parser