Made get best games a function