Changed output method.