date and time stuff pretty much done