Moved display functions to header.