minor typo fixes and added small amount of documentation