add quote functionalities.