Changed how dependency is set