updated to not do deep copy, but not share references either