A nightwatch tutorial