implemented a steps for the first scenario