merged common.php