added rather ironic windows compatibility