changed source code order.
renamed private method name.