added spot code