added initial values for wrap()