simplified use of AsyncTask