added sound sensor support