rework code snippets to work according to Jerod's extremely strict preference