changed output style into the same as  input style