first draft with working i.e.