This question bothers me a long time and finally I decided to ask here. The classic theory fails to deal with electron orbiting around atomic nucleus because energy has been emitted if we assume electron continuously orbits which leads to the collapse of the electron-nucleus model. But in real life the model is really stable. So, physicist proposed that electrons dont orbit continuously, instead, appear with possibility (quantum theory), which seems solved this problem perfectly. However, in magnetic theory, the origin of the magnetic field of atoms is from the current of electrons. I am wondering if it is consistent with the quantum theory mentioned above, which is the possibility of electrons and doesnt generate current. It is quite difficult for me to think that electrons appear in possibility (at not completely random position) and generate current at the same time. Is any expert can explain it to me? Many thanks in advance.