created the display atrribute method and edited the modify method