Implemented calcMaxAge()