add check for pub date