added pprint for better db output