used setOption method instead raw assign value to property