add code for EDA #1