Resolve function added