speed up loading and saving