set references manually.