now works on any platform in theory