finished initial app and its working