Default $code to 0