Added functionality for sound effects