code to tactile sensor added