Improved signal code