threading and wrapping

threading and wrapping