adding code coverage, and changing example