removed defineWidget