oops.  send "detector:d" to template, not "d:d"