     introScreen "in"
 
 B.declareAssets
-  baseTemplate: "template.html"
-  loadingScreen: "loading.html"
+  baseTemplate: 
+    type: B.String
+    url: "template.html"
+  loadingScreen: "loading.html" # type auto-detection
   pauseScreen: "pause.html"
   introScreen: "intro.html"
   creditsScreen: "credits.html"
 
 
 # allows action to be changed later
-# Q: how avoid duplication of "name", while still allowing library and modules to work?
-ui.html.show = B.makeAction 
-  name: "ui.html.show" 
+B.defineAction "ui.html.show", 
   doc: "Shows HTML in the given location"
   parameterDefs:
     html: 

    update: ->




    location: 
      type: B.String 
      default: "body"
      constant: true # means that changes to this parameter changes will be ignored

  action: (params) ->
    init: -> $(params.location).html(params.html.get())
