Edit Core.php