added sample for FunctionalInterface