put def of chan c in a more resonable and readable position.