before referctering