ints_to_atoms function comment complete