Added ifs to QL, not yet in java, questions only