Commit code for fetching data