Category Exercise and Loops