finish GUI part