units have now a own scope for references to avoid naming collisions