Simple refactoring on makeAccessInfo method