basic pre a'la https://gist.github.com/JesseScott/8d8df0a09d87f62bbd3e