Oops, left out closing fi for if