Prototype of the flexible function input