semantics coming together. Wrote code