add passing a copy of values