implemented read and reset