refactoring: astroProvider