Initial funcationality for fetching data