Attempted to improve performance with asynctasks