Change process function to async get request