forgot to remove 'dns'
Replace hard-coded 4 with const for channel size