doing some ref valueing now that im not dumb