(static) widget implementation; todo: use the configuration file