break up data functions