a much easier way to do this would be

Code:
if (this) && (that) {

}