added the required ? to the close php tag