add ability to handle sensor arrays