local definition for resolution.