updated docs, cleaned up