extend to multi-sensor case