updated docs, fixed #170