added display functions.