oep; thread techniques full implementation