added guild data functions