added check for presence of bands