added dependency resolution