also write to version