added paren support (needs improvement)