as move generates an array and passes this to remove, the check needs to include array