Little refactor
Add correct array
Use provider for fetching attributes