storing channel metadata: first working version