added getBand function