better dependency test