correcçao no output method dos comands