making a data widget