I see, it doesn't work when you pass NULL in variable? It has to be called without the third parameter?