modified tooling sample, working version 1