Added editWith method