Edited ageNA function