updated exam to be zero based