still working on references