moved alert code to a <pre><code> block as it interfers with page load times