implement visual representation for demo