Added get_dependencies, becuase the idea of the commit before didn't work