commented logging because it caused bugs in edit