Create commonFunction.php