OK, solved it I needed an extra $_ to return a value for the new list.