getter and setters for read & write event