Made options an optional variable.