unit test coverage up to 76%