made individual operations in the exchange private and standardized method names