THERE MUST BE A SAFER WAY TO DO THIS