slightly updated api.php