use the new sound and improve pearl code