Refactoring for hacker method to fill array :)