added functional

constructing functions from functions