now includes atom type in output,just need total # of atoms