refactored logit() params to be more restrictive