anchor.diff:  		if(cookie.getName().equals(comppid)){pid = Integer.parseInt(cookie.getValue());}
   }
   }
  +
  +	
   	Boolean debug = Boolean.TRUE;
  +
  +//queries
         String queryMySensors	= "select S.SENSOR_ID, S.LOCATION, S.SENSOR_TYPE, S.DESCRIPTION from SENSORS S, SUBSCRIPTIONS T where S.SENSOR_ID=T.SENSOR_ID and T.PERSON_ID="+pid;
         String querySensors	= "select distinct S.SENSOR_ID, S.LOCATION, S.SENSOR_TYPE, S.DESCRIPTION from SENSORS S, SUBSCRIPTIONS T where S.SENSOR_ID not in (select S.SENSOR_ID from SENSORS S, SUBSCRIPTIONS T where S.SENSOR_ID=T.SENSOR_ID and T.PERSON_ID="+pid+")";
         
  
positive.code:     </tr>
      <tr>
      <%
  Integer pid = null;
  //Based on tutorials at http://www.tutorialspoint.com/
  Cookie cookie = null;
  
negative.code:           
            ResultSet rset = stmnt.executeQuery(queryMySensors);
            
  	//iterate through the results
            while(rset.next()) {
              Integer sID = new Integer(rset.getInt(1));
              String local = rset.getString(2);
  