can now use PHP properly in templates