implemented encoder read/reset methods