Do this check slightly better, it's still bullshit though