Simple Flat Function Framework