adding reference stuff