code internal improvement