Gonna rework this, I'm seeing it not work in some cases.