added size changing, changed display format