support maxAge as well as maxage
closes #44