updated docs, minor bugs