now the app is working completely