Added delete_channel() function