init work for showing refs