adding core.php