added date labels based on conditional logic