read code updated