Added clear functionality through chat