trying to understand the code part 2