added support for touch