Updated to read sensors