bring the code to the new version (first revision TWireless)