processing of scenario