added demo of simple delegates