added showFrame
added display functions