removed do and const. added readonly and writeonly