this select seems uneccessary since there is only one case, you could range over the channel maybe?