Build ref