Code for http://apotomo.de/peters-guide-1.1/ (step-by-step)