added hook for dependency check