implement get last submitted tasks