iterating through options object to know what to set