edit mode code

sd