resolved dependency problems, passed the test