removed wrap method