github has gone a bit mad here. I've just indented this under the else clause