added random band functionality