add atom to head