adding particle collision codes