added Zakas' one line closure definition