corrected some bugs, re-added particle sources