hacky
doc
added lambdas