Implement step for part 1