move data getter to widget, so that they can be accessed from category chooser