Added fetching data functions.