 				
 
 		fn = ->
-			global[type] label, cb
+			global[ui[type]] label, cb
 
 		if options.padding
-			describe '|'.green, ->
+			global[ui.describe] '|'.green, ->
 				fn()
 		else
 			fn()


colors = require 'colors'
_ = require 'underscore'

exports.Feature = (feature, story..., callback)->
	#  exp. Feature 'new feature', 'in order to do good', 'as a user', 'I want to do good', ->

	message = "Feature: #{feature} \n\n".green.underline
	(message += '\t'+part+'\n' for part in story)

	global[ui.describe](message, callback)
	return


dic = (type, label, args, options={})->  # Dictate to describe() or it()

