Refactored 'rooms' to 'chans'