refactor the proposal and added ec file