debug and particles