now it works both on mac and windows