some of the particle routines added