added function execution demo