added more console logs for testing and parsing.