apparently python doesn't allow c style logical operators...