fix: fix minor errors
feat: add some documentation