moved addspot function into spot. Works =)