impl sample (wip)