Fixed typos. Previously called some things 'category' instead of 'attempt'.