Match array

Changed arguments of callback to return array