add channel and memory go