checks for necessary dependencies