Revised tutorial for Andrzej Krzywda's tutorial