new gui document, part2 and part3