added sound and fixed bugs.