creatng (almost) valid context