moved resolver logic out, actor composed with resolver