updated to use proper php open tag