updated code stable