lib system.php