changed the slowness check