added main audio loop