console.log ages and idx