fix actual logic for the thing this whole friggin thing was about