helpful functions added to output object