added eer diagram