     JAccount.some { referrerUsername : username }, options, callback
 
 
-  @addExtraReferral: secure (client, options, callback)->
+  @addExtraReferral = secure (client, options, callback)->
 
     {delegate} = client.connection
     unless delegate.can 'administer accounts'

    persistReferrals = (campaign, source, target, callback)->

      referral = null
      queue = [
        ->
          referral = new JReferral
            amount        : campaign.campaignPerEventAmount or 256
            type          : campaign.campaignType
            unit          : campaign.campaignUnit
            sourceCampaign: campaign.name

          referral.save (err) ->
            return callback err  if err
            queue.next()
        ->
          source.addReferrer referral, (err)->
            if err
              referral.remove()
              return callback err
            queue.next()
        ->
          target.addReferred referral, (err)->
            if err
              referral.remove()
              return callback err
            console.info "referal saved for #{target.profile.nickname} from #{source.profile.nickname}"
            queue.next()
        ->
          campaign.increaseGivenAmountSpace (err)->
            console.error "Couldnt decrease the left space", err  if err?
            callback null
      ]
      daisy queue



            return console.info "User already get the referrer"

          # get referrer
          JAccount.one 'profile.nickname': referrerUsername, (err, _referrer)->

            if err
              # if error occurred than do nothing and return
              return console.error "Error while fetching referrer", err

            unless _referrer
              # if referrer not fonud then do nothing and return
              return console.error "Referrer couldnt found"

            referrer = _referrer
            queue.next()

        ->
