Fixed a misspelling and was just messing about with looping for test purposes.