sample application adding by gui