removed darwin stuff