exports in widget factory