modified display functionality