crashes when i.doInBackground is uncommented. Will try to fix