add func.php, static class base function