quick tour code with tests