changed interface for touch sensor