Internal logic for WGI data completed. UI next