Looking at it better, it's a bit weird that the first time you have to pass a parameter and not the second time when you call the function. Ideas? Is everyone ok with the original implementation?