Added textmode output for particle index