remove redundant brackets
remove removeNewlines to cli program