add recv and next methods in Dispatch