Refactored populateTxtArray Methods