[MERGED] using array for different sensors

This topic has been merged into using Array.