updated with dynamic sound effect implementation