removed windows specific code