Corrected code consistency