@Edent I think you've got a bug here - you've got phrase == 2 twice?