controller and report for phptdd