eliminated extra brackets problem