use the same variable for the public app.php method