resolving dependency