callback.php loop extension