added callback for channel selection