implement touch sensor