added texWrap