more work on chat fragment