Sorry for this - the indentation was just off in the switch and since I was mucking with this function, I fixed it.