changed defaultOptions to defaultParameters