adding editable() method to set the state