adding source code of gui