merging gui into map