added my code to get the data needed for my part of the project