added coins until increase counter, altered variable naming a little