removed all bytcode typos  and redid ECdiagram