removed some redundant paranthesis stuff with regular expressions