refractoring sharing