Implemented looping in band