api_helper.php added