fixes #33, fixes #47, doesn't fix global warming :(