added a small working example application