implemented references clausel