code write: functional chop works with 1 element array