need to work on spot.php