added getPinOwner-query