Copy and pasted code block from further above.