got date cycle working