changed output pattern