try to sort out dependecies