bug fix...returning exceptions if unexpected arguments specified.