customuzed "Clear encoder" block