code to make step 4s - not perfect, but works
rejiggered
added event skimming
mostly cleanup