Finished up the different modes for duplication

... god damn is that ugly code...