Quad Func Application (rectangle)