changed implementation accommodating for is_fog