remove redundant parens
typescript definition ++
major changes - still porting code from other projects