add sample code using sound effect