audio looping
refactoring