Updated functional interfaces demo