now the app is running, but doesn't work as wanted