The working Code,except the number os spots

For some reason, I'm not capturing the number of spots, But I will
update as soon as I can send them to the database.