pretty sure i've got date and time working