Added the sign extend code