add publish for prototype