added word shape feature