#32: fixing function args capture