revision to app.php