fixed typo
add more documentation