command resolving