I added the / in the ending code tags but it looks like they were in the wrong places. The posted code needs some fixing to be properly formatted.