fixed parentheses to make sound sensor work