replaced Chat.display with my own display function (Working)