removed old output method