Doesn't allow to find way through fog, simple logic changes inside code, to make it more readable.