make the example actually function