repositories are now only loaded when needed