add on-touch functionality