adding touch friendly code