debugging and added new function for grabbing all dependancies
debugging, should be dangerously functional...