code GWT and MGWT