eliminated innecesary output