work on embedded plugin