atom to apm