argh, sorry. yes its all fine, i missed the else at the end of this.