added task polling