typos and better outputs