Change makeWidget to createWidget