added validations on params to account for naming