add ability to query ped file