I don't really like this in the generic widget, we need to do it in another way e.g use a widget property