redone for trey's new sensor values