Great idea, I should have used currying :)