add init to MyPlug example