ref prime