version with no state
using lambda