tweaked example, added some missing files