use slice to make copy of arry related to issue #3