now works with 4 sensors