flush encoder