trying to display objects to console for debugging purposes