made getOrganization global.