Adding a function to gather all data with one call than each separately.