add check for EDD