Code modifications to handle Perceptual Computing