Kondo effect in a quantum dot—the atomic approach