change to styles. Add end event for audio