First version of touch sensor working