added hooks for all of the data methods and created the get_data function that returns all of the data