seems to work, but getAchievements is called many times