Removed debug code and stubbed an approach for printRecord