resolving assignment