changed version to snapshot
simplify expression using lambda