a dirty work-in-progress to be finished later today