changes to add sound and a few fixes..