added assertion
handled writeonly properties is working now