Addressed review notes. Removed pretty printing as it created more problem than value