Completed Duplicator Code