whitespace
findUnit()
findUnit now accepts a dict of brackets to match