array ref passed in to convert method