made sure that options object is constructed completely with all the properties