Make rest of the code async