changed output convention