removed default value for parameters that default to nil