write at the right time