edited rationaltest