added touch conditions
added missing import
added missing import
Merge pull request #4 from jaspervp/touch

add touch conditions