add spent coin check