unnecessary info removed
php code included for test