allow cli to parse grid to string and send string for display to user
refactoring
refactoring
refactoring