completed the operator and the flush command