cleaned up band foreach