added some guid helper functions