contract resolving