Update display.cc

Re-implemented to work without 'new' command