Functional framework