implemented simple fog