Updated Handler.php