removed unnecessary var
changed copy