adding date protection to epp gem