added some display functionality