added idea to make it work on other OSs