edited AndrewController.php