updated for data pull