This structure is dangerous. This line and the one above it will both be executed even if `convertElementForAtoms` fails and calls the callback. then the callback will be called again in `executeAtom`. You need a way to only run the second command if the first one has not called the callback.