improving the widgeting