code settling