Added sound logic