don't write loops and if statements on one line like this.  it's much harder to read than multiple lines