adding pastdate exception class