It works!!!
Fixed a logic error
Fixed a typo