add a showAchievements part to the code