added embed & segment