replace with one that doesn't freeze