only tested on mac, but should be fine on linux