Commented code, fixed a bug, updated additional words