adding reference class