added some psuedo code to incorporate chat vs clip functionality