added changing particles functionality