put max age check back in