Reformatted code per WP standards