need to pass in options as an object