fork and sample editing