Thanks, Peter, it's working perfectly now. 

And yes, the function does return 'something'. I just wanted to make the code minimal.
	[[alternative HTML version deleted]]

