read in date and med, alignment + more.