resolving expressions