modified code switches to be consistent with README.md