added enter and exit validation for traversing steps that depend on information from other steps through context object