Corrected position code