created a working example