basic gui app code added