Updated coding style in channel controller