updated docs, fixed #300