added character and touch classes.