fix errors and added sound notifications