completed all parts - need to debug test