first step in splitting common lib into 2 pieces