alternate version to work on linux