updated code pathway