removed windows only code