now the algorithm returns his points