done with writing range correctly. Now need to not process Surrogates