Added generateERD method back after merge