initial ref work