This code snipped does not display nicely, when running locally at least. Perhaps it's not an issue when we deploy later but if it is it might be better to simply use indentations for the code segments.