change title; improve date algorithm