add widget prototype