Added function to check ranking within the app.