add support for flex sensors