inline ref phase 1