switch parameters to lowercase. resolves #12
variable name typo.  fixes #7