added wise support, added embed support