more work on chat room exercise