updated: initialization of dynamic context