minor changes, fixed typo