     if not currentGroup or currentGroup is 'koding' then "koding~#{KD.nick()}"
     else currentGroup
 
-  createGroupVM:(type='personal', callback)->
-    defaultVMOptions = {cpu : 1, disk : 1, ram : 1}
+  createGroupVM:(type='personal', cpuSize, callback)->
+    defaultVMOptions = {cpu : cpuSize, disk : 1, ram : 1}
     group = KD.singletons.groupsController.getCurrentGroup()
 
     group.fetchBundle (err, bundle)->

                  if err
                    onError err
                  else
                    vmController.createGroupVM type, vmCreateCallback
                    onSuccess()
                    callback()
              paymentModal.on "KDModalViewDestroyed", -> vmController.emit "PaymentModalDestroyed"

      else
        KD.singletons.finderController.mountVm vm.name
        vmController.emit 'VMListChanged'
      paymentModal?.destroy()

    group = KD.singletons.groupsController.getGroupSlug()

