PROPOSAL: Dynamic creation of functions