adding scenario code