made it a little more cross platform friendly, at leastt with osx and android