The app is not working as expected