fix readme
use generic lamndas