Data were collected as part of the Longitudinal Preterm Outcome Project study , a community-based , prospective cohort study of 336 AGA and 42 SGA born children ( median gestational age 35 weeks , range 31-41 ) .