working copy of code