several changes to the output