works fine with editing