synced with branch gh-pages. fixes #36.