updated resolution define logic.