add condition to ordering GS trials..