added deploy method  copy