cleanup and documentation through display functions