accept the benefit of cost and thus avoid the consequence of being deprived of the right to challenge the order on merits. The said principle would not apply to a case where the direction for payment of costs is not a condition on which the petition is allowed and costs have been awarded independently in exercise of the discretionary power of the court to award costs because in such a case the party who has been awarded costs has no opportunity to waive his right to question the validity or correctness of the order. The decision of the Andhra Pradesh High Court in The Metal Press Works Ltd. Calcutta v. G.M. Cotton Press Co., AIR 1976 Andhra Pradesh 205, on which reliance has been placed by the High Court, proceeds on the basis that awarding of costs was, in fact and substance, a part of the entire order allowing amendment in written statement and the said order was a conditional one. The decision of the Madras High Court in Prayag Dassjee v. Venkat Perumal, AIR 1933 Madras 410 , and the decisions of the Patna High Court in Ramcharan v. Custodian of Evacuee Property, AIR 1964 Patna 275, and M. Kepur Kumar v. Narain Singh, AIR 1949 Patna 491, on which reliance has been placed in the said judgment of the Andhra Pradesh High Court also emphasises that the orders under challenge were conditional orders and payment of costs was a condition precedent to allowing the petition. In Devaiah v. Nagappa, AIR 1965 Mysore 102 , the order allowing amendment of the election petition contained a direction regarding payment of costs. It was held that the application was allowed without any condition and that the order was not conditional order and principle of estoppel was held inapplicable.”