removed chat logic