updates spacing
adds date comparison methods