Replaced reassignment with a copy for the original class