main gui 적용(미완)