modified helper for expiration date