Getting rid of getAtomByIndex function
Getting rid of getAtomByIndex function