made a whole series of changes as a way of increasing the test coverage. removed unused methods