learn to chicken and egg dependency problem