added ec 1
removed extra line info from function ec 1