edited Spot class