add OUT enum for getPiece method