writing code to extract data is complete