 			if err? then return cb(err)
 			if res.error then cb new ClanError res.status, res.body else cb null, res.body
 
-	move: (matchID, lastEventID, move, osn, cb)->
+	move: (matchID, lastEventID, move, globalState, osn, cb)->
 		if typeof osn is "function" # keep compatibility with previous version
 			cb = osn
 			osn = null

		.set appCredentials
		.auth gamerCred.gamer_id, gamerCred.gamer_secret
		.type 'json'
		.send move
		.end (err, res)->
			if err? then return cb(err)
			if res.error then cb new ClanError res.status, res.body else cb null, res.body


module.exports =  (appCredentials, gamerCred, domain)->

	#list: (properties, options=null, cb)->
	list: (options, cb)->

		#queryoptions = "&properties=#{JSON.stringify(properties)}"
		queryoptions = ""
		queryoptions += "&full" if options?.full?
		queryoptions += "&participating" if options?.participating?
		queryoptions += "&finished" if options?.finished?
