-1 changed to 0 for non-pass