Working on windows and linux