add  all code as a copy