added age checking