Added sound and fixed the program