fixed the processReturn() to include copyNumber as a passed argument