'in' doesn't do what i thought it did for arrays - doh!