Added functions to make it easier to output what is needed