Note meaning of zero by >0 checks for clarity