before making channel a proper class