add  some function @check.php