changed signature of initialize channel