Refactor from main indexer class. Powered by tyranus and sricci :)
Add method for cast string to integer