added blanket coverage
minor changes
added unit test