wrap method result in array