add handwrite recognition