Adding comments, and change to PHP syntaxt