track atoms, implementing the -i option