added rw/ro buttons