changes to port functionality from volley to async task