In this work we are presenting a modified Coulomb potential function to describe the interaction between two microscopic electric charges. In particular, concerning the interaction between the proton and the electron in the hydrogen atom. The modified potential function is the product of the classical Coulomb potential and an oscillatory function dependent on a quantized phase factor. The oscillatory function picks up only selected points along the Coulomb potential, creating potential wells and barriers around the nucleus of the atom. The new potential reveals us new features of the hydrogen atom. Searching for a manner to determine the phase factor, we are using the concept of the de Broglie particle wavelike behavior and the quantum analogue of the virial theorem for describing the bound motion of a particle in a central force field. This procedure is a kind of feedback action, where we are making use of well established concepts of the quantum mechanics aiming to determine the phase factor of the new interaction potential.