moved dependencies
working solution