Deleted debug and addWidgets