assign widgets