Added code to pull pitch_type data