code reformat
audio handling were added