added a working example