 				Db.shared.incr 'counters', App.userId(), bufferedClicks
 			buffering.set false
 
-renderMagic = (buffer, localScores) !->
+renderMagic = (localScores) !->
 	Obs.observe !->
-		if localScores.get('counters', App.userId()) is MAGICNUMBER
+		userCurrent = localScores.get('counters', App.userId())
+		if userCurrent >= MAGICNUMBER and userCurrent < MAGICNUMBER + 25
 			Dom.div !->
 				Dom.animate
 						create:


	Ui.card !->
		renderButton buffer
		renderMagic buffer, localScores
		renderFunny()

	Obs.observe !->

Plugin = require 'plugin'

BUFFER_TIME = 1000
MAGICNUMBER = 300

exports.render = ->
	# create local copy of the scores
