added IRVisitor scope