flow design and age calculation