Function to return base data