attempt at binding widgets