Updated for Wordpress code formatting standards